package com.xingkeduo.dto.param;

import com.xingkeduo.pojo.enums.OrderSource;
import com.xingkeduo.utils.TableAnnotations;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 *
 * @author chi  2019-02-14 16:58
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderInitDto {


    private String storeId;

    private String userId;

    @NotBlank(message = "预约发型师id不能为空")
    @TableAnnotations("预约发型师id")
    private String appointmentAdminId;
    @TableAnnotations("预约发型师name")
    private String appointmentAdminName;

    private BigDecimal allPrice;


    @TableAnnotations("预约开始时间")
    private String appointmentStartTime;

    @TableAnnotations("预约结束时间")
    private String appointmentEndTime;

    @TableAnnotations("服务类型 1剪发 2刘海 3高级")
    private String serviceTypeId;

    @TableAnnotations("订单来源")
    private OrderSource orderSource;

    //优惠标识 1优惠券 2会员卡
    private String marketingType;

    //卡券详情
    private String cardCouponDetail;

    //活动类型
    private String activityType;

    //活动详情
    private String activityDetail;

    @TableAnnotations("库存id")
    private String appointmentId;
}
